package myJs.myPkg

import org.scalajs.dom.{Blob, Element}
import slinky.readwrite.ObjectOrWritten

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

case class QrCodeSvgOptions(
                             content:js.UndefOr[String]=js.undefined,
                             container:js.UndefOr[String]=js.undefined,
                             join:js.UndefOr[Boolean]=js.undefined,
                             padding:js.UndefOr[Int]=js.undefined,
                         )

/**
 * Created by yz on 2019/3/14
 */
@JSImport("qrcode-svg", JSImport.Default)
@js.native
class QrCodeSvg(options:ObjectOrWritten[QrCodeSvgOptions]) extends js.Object {

  def svg():String  = js.native

}
